fiptool: Support non-decimal --align arguments
authorAndreas Färber <[email protected]>
Fri, 21 Apr 2017 17:39:10 +0000 (19:39 +0200)
committerAndreas Färber <[email protected]>
Mon, 24 Apr 2017 10:46:44 +0000 (12:46 +0200)
commitfb5f7949558a06cc43cf3e6aced32cc4686158d3
treecad038adb306ae57cad2112558de569b2b84692b
parent3fb340a2b45740d7233490ac9801d530403529e7
fiptool: Support non-decimal --align arguments

An alignment value of 0x4000 is much easier to type than 16384,
so enhance get_image_align() to recognize a 0x prefix for hexadecimals.

Signed-off-by: Andreas Färber <[email protected]>
tools/fiptool/fiptool.c